package homework.day08;

import homework.day08.bean.Bird2;
import homework.day08.iface.Fly;
import homework.day08.bean.Plane;

/**
 * @author ThinkBook
 */
public class Test05 {
    public static void main(String[] args) {
        Fly bird = new Bird2();
        bird.flyAction(); //⻦会⻜⾏
        Fly plane = new Plane();
        plane.flyAction(); //⻜机能⻜⾏
    }
}
